<template>
  <div class="winExplain">
    <div style="padding: 240px 5px 0px;">
      <div style="color: #fff;font-size: 20px;margin-left: 15px;margin-bottom: 20px;">
        稳赢数字基金1号(到期还本付息)
      </div>
      <div style="height: 180px;background: #fff;border-radius: 10px;overflow: hidden;">
        <div style="height: 40px;line-height: 40px;display:flex">
          <div style="flex: 1;font-size: 12px;text-align: center;color: #0c51d2;background: #e9f6ff;border-right: 1px solid #e2e2e2;">产品名称</div>
          <div style="flex: 0.8;font-size: 12px;text-align: center;color: #0c51d2;background: #e9f6ff;border-right: 1px solid #e2e2e2;">期限</div>
          <div style="flex: 1;font-size: 12px;text-align: center;color: #0c51d2;background: #e9f6ff;border-right: 1px solid #e2e2e2;">年华收益率</div>
          <div style="flex: 1.2;font-size: 12px;text-align: center;color: #0c51d2;background: #e9f6ff;border-right: 1px solid #e2e2e2;">限时奖励收益</div>
          <div style="flex: 1;font-size: 12px;text-align: center;color: #0c51d2;background: #e9f6ff">返还方式</div>
        </div>
        <div style='display: flex;'>
          <div style="flex: 1;font-size: 14px;height: 140px;border-right: 1px solid #e2e2e2;">
            <div style="margin-top: 35px;padding: 10px;">稳赢数字基金1号</div>
          </div>
          <div style="flex: 3;display: flex;font-size: 12px;">
            <ul class="ulSty">
              <li class="firstLi">6个月</li>
              <li class="secondLi">6%</li>
              <li class="thirdLi">2%</li>

              <li class="firstLi" style="background: #e9f6ff;">12个月</li>
              <li class="secondLi" style="background: #e9f6ff;">12%</li>
              <li class="thirdLi" style="background: #e9f6ff;">3%</li>

              <li class="firstLi">24个月</li>
              <li class="secondLi">20%</li>
              <li class="thirdLi">4%</li>

              <li class="firstLi" style="background: #e9f6ff;">36个月</li>
              <li class="secondLi" style="background: #e9f6ff;">35%</li>
              <li class="thirdLi" style="background: #e9f6ff;">5%</li>
            </ul>
          </div>
          <div style="flex: 0.99;font-size: 14px;border-left: 1px solid #e2e2e2">
            <div style="margin-top: 35px;padding: 10px;">
              到期还本付息
            </div>
          </div>
        </div>
      </div>
    </div>

    <div style="padding: 0px 5px;margin-top: 40px;">
      <div style="color: #fff;font-size: 20px;margin-left: 15px;margin-bottom: 20px;">
        稳赢数字基金2号(按月付息,到期还本)
      </div>
      <div style="height: 180px;background: #fff;border-radius: 10px;overflow: hidden;">
        <div style="height: 40px;line-height: 40px;display:flex">
          <div style="flex: 1;font-size: 12px;text-align: center;color: #0c51d2;background: #e9f6ff;border-right: 1px solid #e2e2e2;">产品名称</div>
          <div style="flex: 0.8;font-size: 12px;text-align: center;color: #0c51d2;background: #e9f6ff;border-right: 1px solid #e2e2e2;">期限</div>
          <div style="flex: 1;font-size: 12px;text-align: center;color: #0c51d2;background: #e9f6ff;border-right: 1px solid #e2e2e2;">年华收益率</div>
          <div style="flex: 1.2;font-size: 12px;text-align: center;color: #0c51d2;background: #e9f6ff;border-right: 1px solid #e2e2e2;">限时奖励收益</div>
          <div style="flex: 1;font-size: 12px;text-align: center;color: #0c51d2;background: #e9f6ff">返还方式</div>
        </div>
        <div style='display: flex;'>
          <div style="flex: 1;font-size: 14px;height: 140px;border-right: 1px solid #e2e2e2;">
            <div style="margin-top: 35px;padding: 10px;">稳赢数字基金2号</div>
          </div>
          <div style="flex: 3;display: flex;font-size: 12px;">
            <ul class="ulSty">
              <li class="firstLi">6个月</li>
              <li class="secondLi">4%</li>
              <li class="thirdLi">2%</li>

              <li class="firstLi" style="background: #e9f6ff;">12个月</li>
              <li class="secondLi" style="background: #e9f6ff;">10%</li>
              <li class="thirdLi" style="background: #e9f6ff;">3%</li>

              <li class="firstLi">24个月</li>
              <li class="secondLi">18%</li>
              <li class="thirdLi">4%</li>

              <li class="firstLi" style="background: #e9f6ff;">36个月</li>
              <li class="secondLi" style="background: #e9f6ff;">30%</li>
              <li class="thirdLi" style="background: #e9f6ff;">5%</li>
            </ul>
          </div>
          <div style="flex: 0.99;font-size: 14px;border-left: 1px solid #e2e2e2">
            <div style="margin-top: 35px;padding: 10px;">
              按月付息 到期还本
            </div>
          </div>
        </div>
      </div>
    </div>
    <a :href="href">
      <img src="../../assets/btn.png" alt="" style="width: 60%;margin-left: 20%; margin-top: 40px;">
    </a>
    <div style="color: #fff;padding:15px 5px;">
      <span style="color: #f1f117">备注:</span>一个月按照30天记，每月还息日期为购买之日后的D+30天既第31天发放利息奖励
    </div>
    <div style="text-align: center;">
      <span class="spanStyle"></span>
      &nbsp;&nbsp;
      <span style="color: #ccc;font-size: 12px;">市场有风险,投资需谨慎</span>
      &nbsp;&nbsp;
      <span class="spanStyle"></span>
    </div>
    <div style="height: 30px;background: #3b8ae9;"></div>
  </div>
</template>
<script>
  export default {
    data() {
      return {
        href: "#/main/fp/winList"
      }
    },
    mounted(){
      if(this.$route.query.type=='native'){
         this.href = 'myapp://tonative/param?id=myapp'
      }
    }
  }
</script>
<style lang="less" scoped>
  .winExplain {
    background-image: url('../../assets/winExplain.png');
    background-size: 100% 100%;
  }

  .ulSty {
    width: 100%;
  }

  .ulSty li {
    float: left;
    list-style: none;
  }

  .firstLi {
    width: 26.4%;
    display: inline-block;
    border-right: 1px solid #e2e2e2;
    height: 35px;
    line-height: 35px;
    text-align: center;
  }

  .secondLi {
    width: 33%;
    display: inline-block;
    border-right: 1px solid #e2e2e2;
    height: 35px;
    line-height: 35px;
    text-align: center;
  }

  .thirdLi {
    width: 39.5%;
    display: inline-block;
    height: 35px;
    line-height: 35px;
    text-align: center;
  }

  .spanStyle{
    display: inline-block;
    width: 15%;
    height: 1px;
    background: #ccc;
    vertical-align: middle;
  }
</style>